const laters = global.compositor.get_laters();
this._updateStateId = laters.add(
- Meta.LaterType.BEFORE_REDRAW, () => this._updateStates());
+ Meta.LaterType.BEFORE_REDRAW, () => {
+ this._updateStates();
+ return GLib.SOURCE_REMOVE;
+ });
}
_unqueueUpdateStates() {
Meta.LaterType.BEFORE_REDRAW, () => {
this._dropPlaceholder.hide();
delete this._dropPlaceholderLater;
+ return GLib.SOURCE_REMOVE;
});
}
}
Meta.LaterType.BEFORE_REDRAW, () => {
this._dropPlaceholder.show();
delete this._dropPlaceholderLater;
+ return GLib.SOURCE_REMOVE;
});
}
x += placeholderWidth + spacing;